﻿using System.Windows.Forms;
using System.Data.Objects;

namespace Northwind.NET.EDM.FE.WinForms.Controls
{
    public partial class SuppliersUserControl : BaseUserControl
    {
        public SuppliersUserControl()
        {
            InitializeComponent();
        }

        public override string FormCaption { get { return Settings.Resources.SuppliersFormCaption; } }
        public override dynamic GetEntitySet(ObjectContext context)
        {
            return context.CreateObjectSet<Model.Supplier>();
        }

        public override BindingSource UserControlBindingSource { get { return supplierBindingSource; }}

    }
}
